package mashuaiproject.mashuaiproject.dto;

import lombok.Data;
import mashuaiproject.mashuaiproject.model.Quesions;
import mashuaiproject.mashuaiproject.model.Users;
import org.springframework.beans.factory.annotation.Autowired;

@Data
public class CommentListDto {

    private  Integer id;
    private Integer parent_id;///这个parent_id是值文章的id，起到与quesion表的关联作用
    private  Integer type;//判断是几级回复
    private  Integer commentator;//评论人
    private Long gmt_create;
    private  Long gmt_modified;
    private Integer like_count;
    private  String  content;
    private  Integer commentson_count;//子评论总数
    private  Integer fabulous_up;//点赞上升数量
    private  Integer fabulous_down;//点赞下将
    private Users users;

    //新增文章的属性
    private Quesions quesions;
    private  Integer page;
    private  Integer countPage;
    private  String  isGuanzhu;//是否关注和这个博主

    //新增属性


}
